/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mirac
 * Date: 2025-09-24
 * Time: 17:12
 */
public class Solution {
    public int strStr(String haystack, String needle) {
        int ans = haystack.indexOf(needle);
        return ans;
    }
}
